package com.yyk.yiliao.bean;

import java.util.List;

/**
 * Created by Administrator on 2018/8/27 0027.
 */

public class StoreRelationgoods_Info {
    @Override
    public String toString() {
        return "StoreRelationgoods_Info{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data.toString()+
                '}';
    }

    /**
     * code : 1
     * msg : 返回成功
     * data : [{"id":16,"pic":"/upload/store/201808/1534211287_35_4902.png","recipe":0,"name":"吃了就好","money":11},{"id":40,"pic":"/upload/drug/201808/15347661836874.png","recipe":0,"name":"开心丹","money":11},{"id":43,"pic":"/upload/drug/201808/15347661836874.png","recipe":0,"name":"吃了不坏事","money":11},{"id":44,"pic":"/upload/drug/201808/15347661836874.png","recipe":0,"name":"吃了不坏事123","money":11}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        @Override
        public String toString() {
            return "DataBean{" +
                    "id=" + id +
                    ", pic='" + pic + '\'' +
                    ", recipe=" + recipe +
                    ", name='" + name + '\'' +
                    ", money=" + money +
                    '}';
        }

        /**
         * id : 16
         * pic : /upload/store/201808/1534211287_35_4902.png
         * recipe : 0
         * name : 吃了就好
         * money : 11
         */

        private int id;
        private String pic;
        private int recipe;
        private String name;
        private float money;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public int getRecipe() {
            return recipe;
        }

        public void setRecipe(int recipe) {
            this.recipe = recipe;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public float getMoney() {
            return money;
        }

        public void setMoney(float money) {
            this.money = money;
        }
    }
}
